package com.cluster.platform.mapper;

import com.cluster.platform.model.CmsChannelInfo;
import com.cluster.platform.model.CmsChannelInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsChannelInfoMapper {
    long countByExample(CmsChannelInfoExample example);

    int deleteByExample(CmsChannelInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(CmsChannelInfo record);

    int insertSelective(CmsChannelInfo record);

    List<CmsChannelInfo> selectByExample(CmsChannelInfoExample example);

    CmsChannelInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CmsChannelInfo record, @Param("example") CmsChannelInfoExample example);

    int updateByExample(@Param("record") CmsChannelInfo record, @Param("example") CmsChannelInfoExample example);

    int updateByPrimaryKeySelective(CmsChannelInfo record);

    int updateByPrimaryKey(CmsChannelInfo record);

    int batchChannel(@Param("status") Integer status, @Param("ids") List<String> ids);

    List<CmsChannelInfo> searchCmsChannelInfo(CmsChannelInfo cmsChannelInfo);

    List<CmsChannelInfo> getChannel();

}